package com.example.duoshujuyuan;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * exclude = {DataSourceAutoConfiguration.class}  这里是禁止启动 默认的 数据源
 * @MapperScan 指定要变成实现类的接口所在的包，然后包下面的所有接口在编译之后都会生成相应的实现类
 */
//@MapperScan({"com.example.duoshujuyuan.primaryMapper","com.example.duoshujuyuan.secondMapper"})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
//@SpringBootApplication
public class DuoshujuyuanApplication {

    public static void main(String[] args) {
        SpringApplication.run(DuoshujuyuanApplication.class, args);
    }

}
